- item
- Object to test.
| Visual Basic (Declaration) | |
|---|---|
Public Overridable Function IndexOf( _ ByVal item As Medical3DObject _ ) As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As Medical3DObjectCollection(Of Medical3DObject) Dim item As Medical3DObject Dim value As Integer value = instance.IndexOf(item) | |
| C# | |
|---|---|
public virtual int IndexOf( Medical3DObject item ) | |
| C++/CLI | |
|---|---|
public: virtual int IndexOf( Medical3DObject^ item ) | |
Parameters
- item
- Object to test.
Return Value
The index of the specified item if it is found in the collection.For an example, refer to RasterCollection.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code